package com.ryan.sbnote.application;

import java.util.HashMap;
import java.util.Map;

import com.ryan.sbnote.model.UserModel;

public class AppInfo {

	private static final Map<String, Object> info = new HashMap<String, Object>();
	private static final String KEY_USER="key_user";
	
	public static void saveUser(UserModel user){
		info.put(KEY_USER, user);
	}
	
	public static UserModel getUser(){
		return (UserModel) info.get(KEY_USER);
	}
}
